<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>语音讲解 - 智能景区讲解</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
    <style>
        .audio-player {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .waveform {
            height: 60px;
            background: rgba(255,255,255,0.1);
            border-radius: 30px;
            position: relative;
            overflow: hidden;
        }
        .waveform::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: repeating-linear-gradient(
                to right,
                transparent,
                transparent 2px,
                rgba(255,255,255,0.2) 2px,
                rgba(255,255,255,0.2) 4px
            );
            animation: wave 1s linear infinite;
        }
        @keyframes wave {
            from { transform: translateX(0); }
            to { transform: translateX(-4px); }
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- 顶部导航 -->
    <div class="fixed top-0 left-0 right-0 bg-white shadow-sm z-10">
        <div class="flex items-center p-4">
            <button class="text-gray-500">
                <i class="fas fa-arrow-left"></i>
            </button>
            <h1 class="text-lg font-bold mx-auto">语音讲解</h1>
        </div>
    </div>

    <!-- 主要内容区 -->
    <div class="pt-16 pb-20">
        <!-- 当前讲解景点 -->
        <div class="p-4 bg-white">
            <div class="flex items-center">
                <div class="w-16 h-16 bg-gradient-to-r from-blue-400 to-blue-600 rounded-lg"></div>
                <div class="ml-4">
                    <h2 class="text-lg font-bold">西湖十景</h2>
                    <p class="text-sm text-gray-500">杭州最具代表性的景点群</p>
                </div>
            </div>
        </div>

        <!-- 音频播放器 -->
        <div class="audio-player p-6 mt-4">
            <div class="text-white text-center mb-6">
                <h3 class="text-xl font-bold">苏堤春晓</h3>
                <p class="text-sm opacity-80">第1章：苏堤的历史</p>
            </div>
            
            <div class="waveform mb-6"></div>
            
            <div class="flex items-center justify-between text-white">
                <span class="text-sm">00:00</span>
                <div class="flex items-center space-x-6">
                    <button class="w-10 h-10 flex items-center justify-center">
                        <i class="fas fa-step-backward"></i>
                    </button>
                    <button class="w-12 h-12 bg-white bg-opacity-20 rounded-full flex items-center justify-center">
                        <i class="fas fa-play"></i>
                    </button>
                    <button class="w-10 h-10 flex items-center justify-center">
                        <i class="fas fa-step-forward"></i>
                    </button>
                </div>
                <span class="text-sm">03:45</span>
            </div>
        </div>

        <!-- 讲解内容 -->
        <div class="p-4 bg-white mt-4">
            <h3 class="text-lg font-bold mb-4">讲解内容</h3>
            <div class="space-y-4">
                <div class="p-4 bg-gray-50 rounded-lg">
                    <p class="text-gray-600 text-sm leading-relaxed">
                        苏堤是北宋著名文学家苏轼任杭州知州时，疏浚西湖，利用挖出的葑草和淤泥堆积而成。苏堤春晓是西湖十景之首，每当寒冬一过，苏堤犹如一位翩翩而来的报春使者，杨柳夹岸，艳桃灼灼，更有湖波如镜，映照倩影，无限柔情。
                    </p>
                </div>
                <div class="p-4 bg-gray-50 rounded-lg">
                    <p class="text-gray-600 text-sm leading-relaxed">
                        苏堤全长近三公里，堤上有映波、锁澜、望山、压堤、东浦、跨虹六座石拱桥，古朴美观。苏堤的美丽不仅在于它在秀丽的西湖中穿越而过，还因为堤上种满了形态优美的香樟树及其他各种植物，是一条全年都常绿的长堤。
                    </p>
                </div>
            </div>
        </div>

        <!-- 相关景点 -->
        <div class="p-4 bg-white mt-4">
            <h3 class="text-lg font-bold mb-4">相关景点</h3>
            <div class="grid grid-cols-2 gap-4">
                <div class="bg-gray-100 rounded-lg overflow-hidden">
                    <div class="h-24 bg-gradient-to-r from-blue-400 to-blue-600"></div>
                    <div class="p-2">
                        <h4 class="text-sm font-bold">曲院风荷</h4>
                        <p class="text-xs text-gray-500">西湖十景之一</p>
                    </div>
                </div>
                <div class="bg-gray-100 rounded-lg overflow-hidden">
                    <div class="h-24 bg-gradient-to-r from-green-400 to-green-600"></div>
                    <div class="p-2">
                        <h4 class="text-sm font-bold">平湖秋月</h4>
                        <p class="text-xs text-gray-500">西湖十景之一</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 底部导航栏 -->
    <div class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200">
        <div class="grid grid-cols-4">
            <div class="text-center py-3 text-gray-500">
                <i class="fas fa-home text-xl"></i>
                <p class="text-xs mt-1">首页</p>
            </div>
            <div class="text-center py-3 text-gray-500">
                <i class="fas fa-map text-xl"></i>
                <p class="text-xs mt-1">地图</p>
            </div>
            <div class="text-center py-3 text-gray-500">
                <i class="fas fa-comment text-xl"></i>
                <p class="text-xs mt-1">社区</p>
            </div>
            <div class="text-center py-3 text-gray-500">
                <i class="fas fa-user text-xl"></i>
                <p class="text-xs mt-1">我的</p>
            </div>
        </div>
    </div>
</body>
</html> 